package com.inspur.edp.formserver.vmmanager.extendinfo.config;

import com.inspur.edp.formserver.viewmodel.extendinfo.api.GspVoExtendInfoService;
import com.inspur.edp.formserver.vmmanager.extendinfo.GspVoExtendInfoServiceImpl;
import com.inspur.edp.formserver.vmmanager.extendinfo.repository.GspVoExtendInfoRepository;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@Configuration
@EntityScan({"com.inspur.edp.formserver.viewmodel.extendinfo.entity"})
@EnableJpaRepositories({"com.inspur.edp.formserver.vmmanager.extendinfo.repository"})
public class GspVoExtendInfoConfig {
    @Bean
    public GspVoExtendInfoService getVoExtendInfoService(GspVoExtendInfoRepository voRepository) {
        return new GspVoExtendInfoServiceImpl(voRepository);
    }


}

